<?php  session_start();
/**
* @package		Parents@School
* @copyright	                Copyright (C) 2008 Kristof Beckers. All rights reserved.
* @Version		2.0
* @license		GNU/GPL, see LICENSE.php
**/
include ("../include/config.php");
require_once ("../include/db.php");
include ("../include/header.php");
$username1 = $_SESSION['myusername'];
$username = explode(".",$username1);

if(isset($_SESSION['myusername'])){
$datum = $_GET['datum'];
?>
<head>
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
<link href="../templates/alicebourg/default.css" rel="stylesheet" type="text/css" media="all" />
<link href="../templates/alicebourg/fonts.css" rel="stylesheet" type="text/css" media="all" />
</head>

<body>
<div id="wrapper">
	<div id="header-wrapper">
    	<div id="header" class="container">
        	<div id="logo">
            <h1>Reservaties ouderavond Alicebourg</h1>
            </div>
        </div>
        <div id="menu" class="container">
        <?php include ("../include/menu.php"); ?>
        </div>
     </div>
     <div id="page" class="container">
<a href="javascript:javascript:history.go(-1)"/><img src="<?php echo "$back
" ; ?>" border="0"/></a><br><br>
<em>U bent ingelogd voor <?php echo strtoupper($username[1]). " " .strtoupper($username[2]) ?></em><br /><br /><br />
<?php 
if ($datum == ""){
?>
<p>Seleteer de datum van inschrijving:</p><br />
<?php
$sql = "SELECT * FROM $tbparam";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)){
		$date = $row['datum'];
?> 
<p><a href="res_sel_lk.php?datum=<?php echo "$date" ;?>"><?php echo "$date" ;?></a><br /></p>
<?php 
}
}
}
?>
</div>
</div>
</body>
